@layout("/common/_container.html"){
<div class="ibox float-e-margins">
    <div class="ibox-content">
        <div class="form-horizontal">

            <div class="row">
                <div class="col-sm-6 b-r">
                            <#input id="id" name="自增长主键" underline="true"/>
                            <#input id="name" name="名字" underline="true"/>
                            <#input id="createTime" name="创建日期" type="text" clickFun="laydate({istime:true,format:'YYYY-MM-DD hh:mm:ss'})"/>
                </div>

                <div class="col-sm-6">
                            <#input id="status" name="状态。1：正常。0：禁用" underline="true"/>
                            <#icon id="imgs" name="背景图片地址" underline="true"/>
                            <#input id="weight" name="权重" underline="true"/>
                </div>
            </div>

            <div class="row btn-group-m-t">
                <div class="col-sm-10">
                    <#button btnCss="info" name="提交" id="ensure" icon="fa-check" clickFun="TabInfoDlg.addSubmit()"/>
                    <#button btnCss="danger" name="取消" id="cancel" icon="fa-eraser" clickFun="TabInfoDlg.close()"/>
                </div>
            </div>
        </div>

    </div>
</div>
<script src="${ctxPath}/static/modular/system/tab/tab_info.js"></script>
<script>
    var d = new Date();
    laydate.render({
        elem: '#createTime'
        ,value: d.getFullYear() + '-' + lay.digit(d.getMonth() + 1) + '-' + lay.digit(d.getDate())
    });
</script>
@}
